package org.donald.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.donald.model.entity.ProductOrderItem;

import java.util.List;

public interface ProductOrderItemMapper extends BaseMapper<ProductOrderItem> {
    @Select("select * from product_order po left join product_order_item poi on po.id = poi.product_order_id")
    List<ProductOrderItem> getProductOrderItemList();
}